package com.woniuxy.service.impl;

import com.woniuxy.dao.AnswerDao;
import com.woniuxy.entity.ResponseEntity;
import com.woniuxy.service.AnswerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>TODO<p>
 *
 * @author LSL
 * @date 2022/5/31 19:02
 */
@Service
public class AnswerServiceImpl implements AnswerService {
    @Autowired
    private AnswerDao answerDao;
    @Override
    public List<ResponseEntity> findAnswerByTopicId(int id) {
        return answerDao.findAnswerByTopicId(id);
    }
}
